package univer.oko.search.searchParamsMaps;

import java.util.HashMap;
import java.util.Set;

/**
 * Created by Sergey Kharlamov.
 * Date: 30.09.2006
 * Time: 10:51:28
 */
public class DefaultSearchParamsMap implements ISearchParamsMap {

    HashMap<String, Object> map;

    public DefaultSearchParamsMap() {
        map = new HashMap<String, Object>();
    }

    public Set<String> getKeys() {
        return map.keySet();
    }

    public void addParameter(String key, Object value) {
        map.put(key, value);
    }

    public Object getValue(String key) {
        return map.get(key);
    }

    public void clear() {
        map.clear();
    }

}
